<template>
    <view>
        
           <button type="default" @click="get">kkk</button>
    
        
    </view>
</template>

<script>
	export default {
	    data() {
	        return {
	            src: '',
	            danmuList: [{
	                    text: '柯俊豪666',
	                    color: '#ff0000',
	                    time: 1
	                },{
	                    text: '柯俊豪666',
	                    color: '#ff0000',
	                    time: 1
	                }
	            ]
	        }
	    },
		methods:{
			get(){
				uni.login({
				  provider: 'weixin',
				  success: function (loginRes) {
				    console.log(loginRes.authResult);
				  }
				});
			}
		}
	}
</script>

<style>

</style>
